package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Payment;

/**
 *
 */
public interface PaymentService {
    /**
     * 插入一条数据
     * @param payment
     * @return
     */
    int create(Payment payment);

    /**
     * 根据id号进行查询
     * @param id
     * @return
     */
    Payment getPaymentById(long id);
}
